package settings

import org.springframework.cloud.contract.spec.Contract

Contract.make {
    request {
        method("GET")
        url("/api/settings")
    }
    response {
        body("""
        {
            "appContextPath":"appContextPath"
        }
        """)
        bodyMatchers {
            jsonPath('$.appContextPath', byRegex("[\\s\\S]*"))
        }
        status(200)
    }
}
